Ajax Register - Date Field problem

8 years 11 months ago #7501 by Saka
You can't have date in format DD/MM/YYYY
It has to be in MM/DD/YYYY

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

8 years 11 months ago #7503 by cozinhanet
It can't make that way.
On my country this date format (MM/DD/YYYY) is confused, and on plugin setting I have a option to set DD/MM/YYYY.
I atach the screen of this option...

Please Log in or Create an account to join the conversation.

8 years 11 months ago #7504 by Saka
That option is DD-MM-YYYY, so you can't enter it like DD/MM/YYYY
Enter it as 16-07-1975 and it will work.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

8 years 11 months ago #7505 by cozinhanet
Fun... and you can make a option for DD/MM/YYYY beyond dd-mm-yyyy or mm-dd-yyyy in plugin settings??

Please Log in or Create an account to join the conversation.

8 years 11 months ago #7507 by cozinhanet

...you can make a option for DD/MM/YYYY beyond dd-mm-yyyy or mm-dd-yyyy in plugin settings??

or give me instructions to do so?

Please Log in or Create an account to join the conversation.

8 years 11 months ago #7508 by Saka
It would be hard because of PHP DateTime limitation: php.net/manual/en/datetime.formats.date.php

But I will see if I can intercept it and change the format before creating date with it.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch